home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 408;
- loop0:
- while(true)
- {
- if(eval("\x01") == 408)
- {
- set("\x01",eval("\x01") + 192);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 705)
- {
- set("\x01",eval("\x01") - 117);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 780)
- {
- set("\x01",eval("\x01") - 75);
- if(!eval(§§constant(4))[§§constant(5)](§§pop()[§§pop()][§§constant(2)][§§constant(3)]))
- {
- if(eval(§§constant(13)) >= 10 && eval(§§constant(14)) == 0)
- {
- eval(§§constant(4))[§§constant(15)](2);
- set(§§constant(14),1);
- }
- }
- if(eval(§§constant(4))[§§constant(10)] >= 500)
- {
- removeMovieClip(eval(§§constant(4)));
- }
- break;
- }
- if(eval("\x01") == 143)
- {
- set("\x01",eval("\x01") + 507);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 345);
- }
- continue;
- }
- if(eval("\x01") == 650)
- {
- set("\x01",eval("\x01") - 345);
- break;
- }
- if(eval("\x01") == 305)
- {
- set("\x01",eval("\x01") + 615);
- _root.level = 8;
- _root.primaData = true;
- _root.ufo.swapDepths(999);
- _root.life = 100;
- _root.lifeBar.gotoAndStop(_root.life);
- _root.lifeText = _root.life + "%";
- _root.oiRapite = 0;
- _root.smokeDepth = 500;
- _root.speedX = 0;
- _root.speedY = 0.7;
- _root.accel = 1;
- _root.counterPozitii = 0;
- _root.beamCounter = 0;
- _root.beamOpen = false;
- _root.rotation = false;
- _root.float = false;
- h = 1;
- while(h <= 4)
- {
- _root.attachMovie("rosu" + h,"rosu" + h,_root.getNextHighestDepth());
- _root["rosu" + h]._alpha = 0;
- h++;
- }
- _root.onEnterFrame = function()
- {
- if(ok)
- {
- _root.lifeText = _root.life + "%";
- _root.ufo._x += _root.speedX;
- _root.ufo._y += _root.speedY;
- _root.rotatie = _root.ufo._rotation;
- if(Key.isDown(37))
- {
- _root.rotation = false;
- if(_root.speedX > -3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatS");
- }
- _root.counterPozitii = 1;
- _root.speedX -= _root.accel;
- if(!_root.beamOpen && _root.ufo._rotation > -12)
- {
- _root.ufo._rotation -= 1;
- }
- }
- }
- if(Key.isDown(39))
- {
- _root.rotation = false;
- if(_root.speedX < 3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatD");
- }
- _root.counterPozitii = 1;
- _root.speedX += _root.accel;
- if(_root.beamOpen == false && _root.ufo._rotation < 12)
- {
- _root.ufo._rotation += 1;
- }
- }
- }
- if(Key.isDown(38))
- {
- if(_root.speedY > -3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatSus");
- }
- _root.counterPozitii = 1;
- _root.speedY -= _root.accel;
- }
- }
- if(Key.isDown(40))
- {
- if(_root.speedY < 3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatJos");
- }
- _root.counterPozitii = 1;
- _root.speedY += _root.accel;
- }
- }
- if(Key.isDown(32))
- {
- if(_root.ufo._rotation == 0)
- {
- if(_root.beamCounter == 0)
- {
- _root.ufo.raza.gotoAndPlay(2);
- _root.beamCounter = 1;
- }
- }
- }
- if(_root.speedX < 0)
- {
- if(_root.ufo._rotation < 0 && _root.rotation == true)
- {
- _root.ufo._rotation = _root.ufo._rotation + 1;
- }
- _root.speedX += 0.2;
- if(_root.speedX >= 0)
- {
- _root.speedX = 0;
- _root.ufo.ufo2.ufo3.gotoAndStop(1);
- _root.ufo._rotation = 0;
- }
- }
- if(_root.speedX > 0)
- {
- if(_root.ufo._rotation > 0 && _root.rotation == true)
- {
- _root.ufo._rotation--;
- }
- _root.speedX -= 0.2;
- if(_root.speedX <= 0)
- {
- _root.speedX = 0;
- _root.ufo.ufo2.ufo3.gotoAndStop(1);
- _root.ufo._rotation = 0;
- }
- }
- if(_root.speedY < 0)
- {
- _root.speedY += 0.2;
- if(_root.speedY >= 0)
- {
- _root.speedY = 0.7;
- }
- }
- }
- else
- {
- _root.ufo._y -= 5;
- _root.ufo._alpha -= 5;
- }
- };
- if(_root.primaData)
- {
- _root.attachMovie("d" + _root.level,"d" + _root.level,93);
- }
- _root.d1._x = 405;
- _root.d1._y = 257;
- _root["d" + _root.level]._x = 226;
- _root["d" + _root.level]._y = 303;
- _root.starArray = new Array();
- _root.starArray = ["s4","s4","s4","s4"];
- _root.removeArray = new Array();
- _root.removeArray = ["o1","o2","o3","o4","o5","o6","o7","o8","bomb1","bomb2","ufo","ufo2","poarta"];
- listener = new Object();
- listener.onKeyUp = function()
- {
- if(Key.getCode() == 37 || Key.getCode() == 38 || Key.getCode() == 39 || Key.getCode() == 40)
- {
- _root.ufo.ufo2.ufo3.play();
- _root.counterPozitii = 0;
- _root.rotation = true;
- }
- if(Key.getCode() == 32)
- {
- _root.ufo.raza.play();
- }
- };
- Key.addListener(listener);
- _root.oiCounter = 30;
- _root.bombCounter = 20;
- _root.smokeCounter = 3500;
- _root.starCounter = 3500;
- _root.oiTarget = 6;
- _root.oiPeScena = 6;
- _root.bombe = 2;
- stop();
- break;
- }
- if(eval("\x01") == 510)
- {
- set("\x01",eval("\x01") - 132);
- break;
- }
- if(eval("\x01") == 530)
- {
- set("\x01",eval("\x01") - 372);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 689);
- }
- continue;
- }
- if(eval("\x01") == 600)
- {
- set("\x01",eval("\x01") - 321);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 560);
- }
- continue;
- }
- if(eval("\x01") == 339)
- {
- set("\x01",eval("\x01") - 196);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 588)
- {
- set("\x01",eval("\x01") + 276);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 209);
- }
- continue;
- }
- if(eval("\x01") != 864)
- {
- if(eval("\x01") == 265)
- {
- set("\x01",eval("\x01") + 264);
- §§push(new §\§\§pop()§());
- break;
- }
- if(eval("\x01") == 307)
- {
- set("\x01",eval("\x01") + 473);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 75);
- }
- }
- else
- {
- if(eval("\x01") == 279)
- {
- set("\x01",eval("\x01") + 560);
- break;
- }
- if(eval("\x01") == 839)
- {
- set("\x01",eval("\x01") - 309);
- §§push(true);
- }
- else if(eval("\x01") == 655)
- {
- set("\x01",eval("\x01") - 220);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 920)
- {
- set("\x01",eval("\x01") - 920);
- break;
- }
- if(eval("\x01") == 403)
- {
- set("\x01",eval("\x01") + 7);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 71);
- }
- }
- else if(eval("\x01") == 378)
- {
- set("\x01",eval("\x01") + 25);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 410)
- {
- set("\x01",eval("\x01") - 71);
- prevFrame();
- break;
- }
- if(eval("\x01") == 435)
- {
- set("\x01",eval("\x01") + 75);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 132);
- }
- }
- else
- {
- if(eval("\x01") == 158)
- {
- set("\x01",eval("\x01") + 689);
- break;
- }
- if(eval("\x01") == 847)
- {
- set("\x01",eval("\x01") - 40);
- §§push(true);
- }
- else if(eval("\x01") == 807)
- {
- set("\x01",eval("\x01") - 542);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 264);
- }
- }
- else
- {
- if(eval("\x01") != 529)
- {
- break;
- }
- set("\x01",eval("\x01") - 222);
- §§push(true);
- }
- }
- }
- }
- }
- continue;
- }
- set("\x01",eval("\x01") - 209);
- loop2:
- while(true)
- {
- loop3:
- while(true)
- {
- while(true)
- {
- if(eval("\x01") == 943)
- {
- set("\x01",eval("\x01") - 824);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 634)
- {
- set("\x01",eval("\x01") - 579);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 105);
- }
- continue;
- }
- if(eval("\x01") == 632)
- {
- set("\x01",eval("\x01") + 180);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 378)
- {
- set("\x01",eval("\x01") + 256);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 424)
- {
- set("\x01",eval("\x01") + 551);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 343);
- }
- continue;
- }
- if(eval("\x01") == 311)
- {
- break loop3;
- }
- if(eval("\x01") == 975)
- {
- set("\x01",eval("\x01") - 343);
- §§push(§§pop() | (§§pop() >> §§pop()) + 1);
- break loop0;
- }
- if(eval("\x01") == 55)
- {
- set("\x01",eval("\x01") + 105);
- _root.lifeBar.gotoAndStop(eval(§§pop()).life);
- _root.lifeText = _root.life + "%";
- _root.oiRapite = 0;
- _root.smokeDepth = 500;
- _root.speedX = 0;
- _root.speedY = 0.7;
- _root.accel = 1;
- _root.counterPozitii = 0;
- _root.beamCounter = 0;
- _root.beamOpen = false;
- _root.rotation = false;
- _root.float = false;
- h = 1;
- addr79:
- if(h <= 4)
- {
- addr98:
- _root.attachMovie("rosu" + h,"rosu" + h,_root.getNextHighestDepth());
- _root["rosu" + h]._alpha = 0;
- h++;
- §§goto(addr79);
- }
- _root.onEnterFrame = function()
- {
- if(ok)
- {
- _root.lifeText = _root.life + "%";
- _root.ufo._x += _root.speedX;
- _root.ufo._y += _root.speedY;
- _root.rotatie = _root.ufo._rotation;
- if(Key.isDown(37))
- {
- _root.rotation = false;
- if(_root.speedX > -3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatS");
- }
- _root.counterPozitii = 1;
- _root.speedX -= _root.accel;
- if(!_root.beamOpen && _root.ufo._rotation > -12)
- {
- _root.ufo._rotation -= 1;
- }
- }
- }
- if(Key.isDown(39))
- {
- _root.rotation = false;
- if(_root.speedX < 3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatD");
- }
- _root.counterPozitii = 1;
- _root.speedX += _root.accel;
- if(_root.beamOpen == false && _root.ufo._rotation < 12)
- {
- _root.ufo._rotation += 1;
- }
- }
- }
- if(Key.isDown(38))
- {
- if(_root.speedY > -3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatSus");
- }
- _root.counterPozitii = 1;
- _root.speedY -= _root.accel;
- }
- }
- if(Key.isDown(40))
- {
- if(_root.speedY < 3)
- {
- if(_root.counterPozitii == 0)
- {
- _root.ufo.ufo2.ufo3.gotoAndPlay("apasatJos");
- }
- _root.counterPozitii = 1;
- _root.speedY += _root.accel;
- }
- }
- if(Key.isDown(32))
- {
- if(_root.ufo._rotation == 0)
- {
- if(_root.beamCounter == 0)
- {
- _root.ufo.raza.gotoAndPlay(2);
- _root.beamCounter = 1;
- }
- }
- }
- if(_root.speedX < 0)
- {
- if(_root.ufo._rotation < 0 && _root.rotation == true)
- {
- _root.ufo._rotation = _root.ufo._rotation + 1;
- }
- _root.speedX += 0.2;
- if(_root.speedX >= 0)
- {
- _root.speedX = 0;
- _root.ufo.ufo2.ufo3.gotoAndStop(1);
- _root.ufo._rotation = 0;
- }
- }
- if(_root.speedX > 0)
- {
- if(_root.ufo._rotation > 0 && _root.rotation == true)
- {
- _root.ufo._rotation--;
- }
- _root.speedX -= 0.2;
- if(_root.speedX <= 0)
- {
- _root.speedX = 0;
- _root.ufo.ufo2.ufo3.gotoAndStop(1);
- _root.ufo._rotation = 0;
- }
- }
- if(_root.speedY < 0)
- {
- _root.speedY += 0.2;
- if(_root.speedY >= 0)
- {
- _root.speedY = 0.7;
- }
- }
- }
- else
- {
- _root.ufo._y -= 5;
- _root.ufo._alpha -= 5;
- }
- };
- if(_root.primaData)
- {
- _root.attachMovie("d" + _root.level,"d" + _root.level,93);
- }
- _root.d1._x = 405;
- _root.d1._y = 257;
- _root["d" + _root.level]._x = 226;
- _root["d" + _root.level]._y = 303;
- _root.starArray = new Array();
- _root.starArray = ["s4","s4","s4","s4"];
- _root.removeArray = new Array();
- _root.removeArray = ["o1","o2","o3","o4","o5","o6","o7","o8","bomb1","bomb2","ufo","ufo2","poarta"];
- listener = new Object();
- listener.onKeyUp = function()
- {
- if(Key.getCode() == 37 || Key.getCode() == 38 || Key.getCode() == 39 || Key.getCode() == 40)
- {
- _root.ufo.ufo2.ufo3.play();
- _root.counterPozitii = 0;
- _root.rotation = true;
- }
- if(Key.getCode() == 32)
- {
- _root.ufo.raza.play();
- }
- };
- Key.addListener(listener);
- _root.oiCounter = 30;
- _root.bombCounter = 20;
- _root.smokeCounter = 3500;
- _root.starCounter = 3500;
- _root.oiTarget = 6;
- _root.oiPeScena = 6;
- _root.bombe = 2;
- stop();
- break loop0;
- }
- if(eval("\x01") == 356)
- {
- set("\x01",eval("\x01") + 22);
- toggleHighQuality();
- toggleHighQuality();
- §§push(§§pop() - §§pop());
- break loop0;
- }
- if(eval("\x01") == 88)
- {
- set("\x01",eval("\x01") + 223);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 242);
- }
- continue;
- }
- if(eval("\x01") == 93)
- {
- set("\x01",eval("\x01") - 5);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 812)
- {
- set("\x01",eval("\x01") - 456);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 22);
- }
- continue;
- }
- if(eval("\x01") == 160)
- {
- set("\x01",eval("\x01") + 295);
- x = random(2) + 1;
- y = random(2) + 1;
- if(x == y)
- {
- this._xscale = 100;
- this.dreapta = false;
- this.stanga = true;
- }
- else
- {
- this._xscale = -100;
- this.dreapta = true;
- this.stanga = false;
- }
- this.ok = true;
- this.mers = false;
- this.dead = false;
- this.speed = 0;
- this.speedX = 5;
- this.counter = 0;
- this.swapDepths(_root.oiCounter);
- _root.oiCounter = _root.oiCounter + 1;
- break loop0;
- }
- if(eval("\x01") == 69)
- {
- set("\x01",eval("\x01") + 355);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 894)
- {
- set("\x01",eval("\x01") - 801);
- break loop0;
- }
- if(eval("\x01") != 119)
- {
- if(eval("\x01") == 455)
- {
- set("\x01",eval("\x01") - 455);
- }
- break loop0;
- }
- set("\x01",eval("\x01") + 775);
- if(!§§pop())
- {
- continue loop2;
- }
- set("\x01",eval("\x01") - 801);
- continue loop3;
- }
- }
- set("\x01",eval("\x01") - 242);
- stop();
- addr1113:
- if(§§pop() == §§pop())
- {
- set("\x01",eval("\x01") + 453);
- if(!§§pop())
- {
- addr912:
- if(eval("\x01") == 651)
- {
- set("\x01",eval("\x01") - 192);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") == 159)
- {
- set("\x01",eval("\x01") + 606);
- if(!§§pop())
- {
- addr949:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") - 277);
- §§goto(addr949);
- }
- if(eval("\x01") == 720)
- {
- set("\x01",eval("\x01") - 316);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") != 493)
- {
- if(eval("\x01") == 850)
- {
- set("\x01",eval("\x01") - 427);
- if(!§§pop())
- {
- addr997:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") + 193);
- §§goto(addr997);
- }
- if(eval("\x01") == 506)
- {
- set("\x01",eval("\x01") + 59);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") != 912)
- {
- if(eval("\x01") != 974)
- {
- if(eval("\x01") != 510)
- {
- if(eval("\x01") == 411)
- {
- set("\x01",eval("\x01") + 563);
- if(!§§pop())
- {
- addr1071:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") - 468);
- §§goto(addr1071);
- }
- if(eval("\x01") == 616)
- {
- set("\x01",eval("\x01") - 457);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") == 404)
- {
- set("\x01",eval("\x01") - 206);
- if(!§§pop())
- {
- addr1106:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") + 130);
- §§goto(addr1106);
- }
- §§goto(addr1113);
- §§push(eval("\x01"));
- §§push(459);
- }
- set("\x01",eval("\x01") + 210);
- toggleHighQuality();
- §§pop()[§§pop()] = §§pop()[§§pop() - §§pop()] + x.speedX;
- if(x.counter >= 500)
- {
- this[§§constant(23)]--;
- if(this[§§constant(24)] >= this[§§constant(25)])
- {
- this[§§constant(26)][§§constant(27)](2);
- }
- else if(this[§§constant(23)] == 0 && this[§§constant(24)] >= 1)
- {
- this[§§constant(26)][§§constant(27)](2);
- }
- else if(this[§§constant(23)] == 0)
- {
- this[§§constant(26)][§§constant(27)](§§constant(28));
- }
- removeMovieClip(x);
- }
- break loop0;
- }
- set("\x01",eval("\x01") - 468);
- break loop0;
- }
- set("\x01",eval("\x01") - 614);
- break loop0;
- }
- set("\x01",eval("\x01") + 362);
- toggleHighQuality();
- §§goto(addr98);
- §§push(length(§§pop()));
- addr1130:
- }
- set("\x01",eval("\x01") - 614);
- §§goto(addr1130);
- }
- if(eval("\x01") != 721)
- {
- if(eval("\x01") == 413)
- {
- set("\x01",eval("\x01") + 97);
- if(!§§pop())
- {
- addr1164:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") + 210);
- §§goto(addr1164);
- }
- if(eval("\x01") != 765)
- {
- if(eval("\x01") == 298)
- {
- set("\x01",eval("\x01") + 113);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") != 423)
- {
- if(eval("\x01") == 488)
- {
- set("\x01",eval("\x01") - 486);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") != 198)
- {
- if(eval("\x01") == 2)
- {
- set("\x01",eval("\x01") + 491);
- if(!§§pop())
- {
- addr1252:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") + 362);
- §§goto(addr1252);
- }
- if(eval("\x01") != 756)
- {
- if(eval("\x01") == 565)
- {
- set("\x01",eval("\x01") - 332);
- if(!§§pop())
- {
- addr1287:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") + 360);
- §§goto(addr1287);
- }
- if(eval("\x01") == 593)
- {
- set("\x01",eval("\x01") - 180);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") != 233)
- {
- if(eval("\x01") == 328)
- {
- set("\x01",eval("\x01") + 137);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") == 855)
- {
- set("\x01",eval("\x01") - 784);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") == 71)
- {
- set("\x01",eval("\x01") + 650);
- if(!§§pop())
- {
- addr1363:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") + 35);
- §§goto(addr1363);
- }
- if(eval("\x01") == 903)
- {
- set("\x01",eval("\x01") - 53);
- §§goto(addr912);
- §§push(true);
- }
- if(eval("\x01") != 220)
- {
- if(eval("\x01") == 465)
- {
- set("\x01",eval("\x01") - 245);
- if(!§§pop())
- {
- addr1411:
- §§goto(addr912);
- }
- set("\x01",eval("\x01") + 683);
- §§goto(addr1411);
- }
- if(eval("\x01") == 831)
- {
- set("\x01",eval("\x01") - 831);
- }
- break loop0;
- }
- set("\x01",eval("\x01") + 683);
- §§push(§§pop() add §§pop());
- break loop0;
- }
- set("\x01",eval("\x01") + 360);
- break loop0;
- }
- set("\x01",eval("\x01") + 75);
- x = random(2) + 1;
- y = random(2) + 1;
- if(x == y)
- {
- this._xscale = 100;
- this.dreapta = false;
- this.stanga = true;
- }
- else
- {
- this._xscale = -100;
- this.dreapta = true;
- this.stanga = false;
- }
- this.ok = true;
- this.mers = false;
- this.dead = false;
- this.speed = 0;
- this.speedX = 5;
- this.counter = 0;
- this.swapDepths(_root.oiCounter);
- _root.oiCounter = _root.oiCounter + 1;
- break loop0;
- }
- set("\x01",eval("\x01") + 130);
- break loop0;
- }
- set("\x01",eval("\x01") + 193);
- this.swapDepths(500);
- break loop0;
- }
- set("\x01",eval("\x01") - 277);
- break loop0;
- }
- set("\x01",eval("\x01") + 35);
- break loop0;
- }
- }
-